@extends('layouts.admin.layout')

@section('content')
        <div class="am-cf am-padding am-padding-bottom-0">
            <div class="am-fl am-cf">
                <strong class="am-text-primary am-text-lg">系统信息</strong> /
                <small>form</small>
            </div>
        </div>
        <hr>
        <form class="am-form am-form-horizontal" method="post" action="{{url('/admin/system/update')}}">
            {{ csrf_field() }}
            <input type="hidden" name="id" value="{{$system->id}}">
            <div class="am-form-group">
                <label for="title" class="am-u-sm-2 am-form-label">网站名称</label>
                <div class="am-u-sm-10">
                    <input type="text" id="title" name="title" value="{{$system->title}}">
                </div>
            </div>

            <div class="am-form-group">
                <label for="keyword" class="am-u-sm-2 am-form-label">关键词</label>
                <div class="am-u-sm-10">
                    <input type="text" id="keyword" name="keyword" value="{{$system->keyword}}">
                </div>
            </div>

            <div class="am-form-group">
                <label for="description" class="am-u-sm-2 am-form-label">描述信息</label>
                <div class="am-u-sm-10">
                    <input type="text" id="description" name="description" value="{{$system->description}}">
                </div>
            </div>

            <div class="am-form-group">
                <label for="icon" class="am-u-sm-2 am-form-label">网站图标</label>
                <div class="am-u-sm-10">
                    <input type="text" id="icon" name="icon">
                </div>
            </div>

            <div class="am-form-group">
                <label for="icp" class="am-u-sm-2 am-form-label">ICP备案号</label>
                <div class="am-u-sm-10">
                    <input type="text" id="icp" name="icp" value="{{$system->icp}}">
                </div>
            </div>

            <div class="am-form-group">
                <label for="copyright" class="am-u-sm-2 am-form-label">版权信息</label>
                <div class="am-u-sm-10">
                    <input type="text" id="copyright" name="copyright" value="{{$system->copyright}}">
                </div>
            </div>

            <div class="am-form-group">
                <label for="company" class="am-u-sm-2 am-form-label">公司名</label>
                <div class="am-u-sm-10">
                    <input type="text" id="company" name="company" value="{{$system->company}}">
                </div>
            </div>

            <div class="am-form-group">
                <label for="admin" class="am-u-sm-2 am-form-label">管理员</label>
                <div class="am-u-sm-10">
                    <input type="text" id="admin" name="admin" value="{{$system->admin}}">
                </div>
            </div>

            <div class="am-form-group">
                <label for="qq" class="am-u-sm-2 am-form-label">QQ</label>
                <div class="am-u-sm-10">
                    <input type="text" id="qq" name="qq" value="{{$system->qq}}">
                </div>
            </div>

            <div class="am-form-group">
                <label for="email" class="am-u-sm-2 am-form-label">电子邮件</label>
                <div class="am-u-sm-10">
                    <input type="email" id="email" name="email" value="{{$system->email}}">
                </div>
            </div>

            <div class="am-form-group">
                <label for="phone" class="am-u-sm-2 am-form-label">手机</label>
                <div class="am-u-sm-10">
                    <input type="text" id="phone" name="phone" value="{{$system->phone}}">
                </div>
            </div>

            <div class="am-form-group">
                <label for="tel" class="am-u-sm-2 am-form-label">电话</label>
                <div class="am-u-sm-10">
                    <input type="tel" id="tel" name="tel" value="{{$system->tel}}">
                </div>
            </div>

            <div class="am-form-group">
                <label for="tax" class="am-u-sm-2 am-form-label">传真</label>
                <div class="am-u-sm-10">
                    <input type="text" id="tax" name="tax" value="{{$system->tax}}">
                </div>
            </div>
            <div class="am-form-group">
                <div class="am-u-sm-10 am-u-sm-offset-2">
                    <button type="submit" class="am-btn am-btn-primary">提交修改</button>
                </div>
            </div>
        </form>
@endsection